home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / du.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  2.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DU(1L)                                                     DU(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      du - summarize disk usage
  10.  
  11. SYNOPSIS
  12.      du [-abcklsxDLS] [+all] [+total] [+count-links] [+summarize]
  13.      [+bytes] [+kilobytes] [+one-file-system] [+separate-dirs]
  14.      [+dereference] [+dereference-args] [path...]
  15.  
  16. DESCRIPTION
  17.      This manual page documents the GNU version of du.  du
  18.      displays the amount of disk space used by each argument and
  19.      for each subdirectory of directory arguments.  The space is
  20.      measured in 1K blocks by default, unless the environment
  21.      variable POSIX_ME_HARDER is set, in which case 512-byte
  22.      blocks are used.
  23.  
  24.      OPTIONS
  25.  
  26.      -_✓a, +_✓a_✓l_✓l
  27.           Display counts for all files, not just directories.
  28.  
  29.      -_✓b, +_✓b_✓y_✓t_✓e_✓s
  30.           Print sizes in bytes.
  31.  
  32.      -_✓c, +_✓t_✓o_✓t_✓a_✓l
  33.           Write a grand total of all of the arguments after all
  34.           arguments have been processed.  This can be used to
  35.           find out the disk usage of a directory, with some files
  36.           excluded.
  37.  
  38.      -_✓k, +_✓k_✓i_✓l_✓o_✓b_✓y_✓t_✓e_✓s
  39.           Print sizes in kilobytes.  This overrides the environ-
  40.           ment variable POSIX_ME_HARDER.
  41.  
  42.      -_✓l, +_✓c_✓o_✓u_✓n_✓t-_✓l_✓i_✓n_✓k_✓s
  43.           Count the size of all files, even if they have appeared
  44.           already in another hard link.
  45.  
  46.      -_✓s, +_✓s_✓u_✓m_✓m_✓a_✓r_✓i_✓z_✓e
  47.           Display only a total for each argument.
  48.  
  49.      -_✓x, +_✓o_✓n_✓e-_✓f_✓i_✓l_✓e-_✓s_✓y_✓s_✓t_✓e_✓m
  50.           Skip directories that are on different filesystems from
  51.           the one that the argument being processed is on.
  52.  
  53.      -_✓D, +_✓d_✓e_✓r_✓e_✓f_✓e_✓r_✓e_✓n_✓c_✓e-_✓a_✓r_✓g_✓s
  54.           Dereference symbolic links that are command line argu-
  55.           ments.  Does not affect other symbolic links.  This is
  56.           helpful for finding out the disk usage of directories
  57.           like /usr/tmp where they are symbolic links.
  58.  
  59.      -_✓L, +_✓d_✓e_✓r_✓e_✓f_✓e_✓r_✓e_✓n_✓c_✓e
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DU(1L)                                                     DU(1L)
  71.  
  72.  
  73.  
  74.           Dereference symbolic links (show the disk space used by
  75.           the file or directory that the link points to instead
  76.           of the space used by the link).
  77.  
  78.      -_✓S, +_✓s_✓e_✓p_✓a_✓r_✓a_✓t_✓e-_✓d_✓i_✓r_✓s
  79.           Count the size of each directory separately, not
  80.           including the sizes of subdirectories.
  81.  
  82. BUGS
  83.      On BSD systems, du reports sizes that are half the correct
  84.      values for files that are NFS-mounted from HP-UX systems.
  85.      On HP-UX systems, it reports sizes that are twice the
  86.      correct values for files that are NFS-mounted from BSD sys-
  87.      tems.  This is due to a flaw in HP-UX; it also affects the
  88.      HP-UX du program.
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Page 2
  130.  
  131.  
  132.  
  133.